In essence, the Scala compiler is stitching together the XML object message into a single scala. xml. Node, then turning that into a String when passed into the print method of the response's Writer. 实际上,Scala编译器与XML对象消息一起整合到一个scala.xml.Node中,然后在将它传递给响应的Writer的print方法时将其转换为一个String。
From a compiler writer point of view it is easy to convert from one to the other. 从编译器编写者的角度来说,做这种双向的转化都是比较容易的。